package com.lanou.mapper.selectartical;

import com.lanou.bean.ArticalListBean;
import com.lanou.bean.BlogBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by dllo on 18/2/26.
 */
@Component
public interface SelectArticalMapper {
    List<BlogBean> selectArticalListbypage(
            @Param("page") int page
            , @Param("num") int num);

    List<BlogBean> selectArticalListbypageandUserId(
            @Param("page") int page
            , @Param("num") int num , @Param("userId") int userId);

}
